package com.jzo2o.customer.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.data.relational.core.mapping.Table;

import java.time.LocalDateTime;
@Data
@Table("bank_account")
public class BankAccount {
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long primaryKey;
    @TableField(value = "userId")
    private Long id;
    @TableField(value = "type")
    private Integer type;
    @TableField(value = "name")
    private String name;
    @TableField(value = "bank_name")
    private String bankName;
    @TableField(value = "province")
    private String province;
    @TableField(value = "city")
    private String city;
    @TableField(value = "district")
    private String district;
    @TableField(value = "branch")
    private String branch;
    @TableField(value = "account")
    private String account;
    @TableField(value = "account_certification")
    private String accountCertification;
    @TableField(value = "create_time")
    private LocalDateTime createTime;
    @TableField(value = "update_time")
    private LocalDateTime updateTime;
}
